<template>
    <div>
        <div class="headerBox">
            <div class="header">
      <div class="TLimg">
        <img src="../assets/tllogo.png" alt="" />
      </div>
      <div navlist>
      <div class="head-nav">
        <ul class="headlist">
          <li class="navItem navItems">首页</li>
          <li class="navItems course-classify">
            课程分类
            <ul class="course-classifylist"></ul>
          </li>
          <li class="navItems">专属课程</li>
        </ul>
      </div>
    </div>
      <div class="searchbox">
        <a-input-search
          placeholder="搜索课程"
          class="search"
          enter-button
          style="height: 60px"
        />
        <br /><br />
      </div>
      
      <div class="lodinbox">
        <a-icon type="shopping-cart" class="shopping-cart" />
        <span>&nbsp;|&nbsp;</span>
        <span>登录/注册&nbsp;</span>
        <a-avatar icon="user" />
      </div>
    </div>
        </div>
    <div class="classSerachBox">
      <div class="classSerach">
        <a href="../index/index.html"><span class="iconfont icon-shouye">&nbsp;</span>首页<span>/</span>
            <a href="#">视频详情</a>
        </a>
    </div></div>  
    
    </div>
</template>
<script>

export default {
    name:"courseHeader",
}
</script>
<style lang="less" scoped>
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
a {
  color: black;
  text-decoration: none;
}
a:hover {
  color: red;
}
ul {
  list-style: none;
}
.classSerachBox {
  background-color: #f4f4f4;
}
.headerBox {
    width: 100%;
    border-bottom: 2px solid #f2f2f2;;
}
.header {
  margin: auto;
  width: 1200px;
  height: 106px;
}
.TLimg {
  float: left;
  width: 179px;
  height: 55px;
  margin-top: 22px;
  margin-right: 200px;
}
// /deep/.ant-input-wrapper {
//     height: 60px;
//     width: 100%;
// }
/deep/.ant-input {
    border-radius: 19px 0 0 19px;
    height: 38px;
}
/deep/.ant-btn {
    width: 83px;
    height: 38px;
    border-radius: 0 19px 19px 0;
}
.searchbox {
  float: left;
  position: absolute;
  right: 400px;
  margin-top: 30px;
  width: 400px;
  height: 38px;
}
.lodinbox {
  float: right;
  margin-top: 30px;
  width: 142px;
  height: 34px;
  line-height: 34px;
  // background-color: red;
}
.lodinbox > span:nth-of-type(1) {
  font-size: 20px;
  color: #999;
}
.lodinbox > span:nth-of-type(2) {
  font-size: 14px;
}
.lodinbox > span:nth-of-type(3) {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: #ccc;
  border-radius: 16px;
}
.shopping-cart {
  font-size: 20px;
  color: #999;
}
.user {
  font-size: 16px;
  color: #fff;
}
.navlist {
  width: 1200px;
}
.head-nav {
    float: left;
    top: 30px;
    left: -100px;
  position: relative;
  margin: auto;
  width: 300px;
  height: 30px;
}
.headlist {
  
  overflow: hidden; 
  position: relative;
}
.headlist > li {
  float: left;
  margin: 0 30px 0 0;
  font-size: 16px;
}
/* .headlist>li:hover {
    color: #00cf8c;
} */
.navItem {
  padding-bottom: 5px;
  border-bottom: 2px solid #00cf8c;
  color: #00cf8c;
}
.course-classifylist {
  position: absolute;
  top: 20px;
  left: 62px;
  z-index: 1066;
  background-color: #fff;
  display: none;
}
.course-classifylist > li {
  padding: 8px 20px 8px 8px;
}
.styleGreen {
  color: #00cf8c;
}
.classSerach {
    margin: auto;
    width: 1200px;
    height: 60px;
    line-height: 60px;
    padding-left: 8px;
    /* background-color: pink; */
    font-size: 16px;
    color: red;
}
.classSerach>a {
    color: rgba(0,0,0,.45);
}
.classSerach>a>a {
    color: rgba(0,0,0,.45);
}
// /deep/.ant-btn-primary {
//   background: rgb(35, 134, 158);
// }
</style>